#include "hcutil.h"

const char* STRINGLIST = "string-list";

hclist* hcutil_create_string_list(hcstring* string)
{
    hclist* list = hclist_create(STRINGLIST);
    hclist_add(list, string);
    return list;
}

hclist* hcutil_append_string_list(hclist* list, hcstring* string) {
    if((0 != list) && (0 != string)) {
        hclist_add(list, string);
        return list;
    }
    else {
        return 0;
    }
}
